package com.foreverwin.jzymes.production.labor.mapper;

import com.foreverwin.jzymes.production.labor.domain.LaborAttendanceLog;
import com.foreverwin.jzymes.production.sfc.domain.SFC;
import org.apache.ibatis.annotations.Param;

import  java.util.Date;
import java.util.List;

public interface laborSelectLogMapper
{
    /**查找班次的DDG产出
     *
     * @param site
     * @param startdate
     * @param enddate
     * @param itemBo
     * @return
     */
    public Long selectLaborattendanceDDG(@Param( "site" )String site, @Param("startdate") Date startdate , @Param("enddate") Date enddate,@Param("itemBo") String itemBo  );

    /**查找班次的CNC产出
     *
     * @param site
     * @param startdate
     * @param enddate
     * @param itemBo
     * @return
     * */
    public  Long selectLaborattendanceCNC(@Param("site")String site, @Param("startdate") Date startdate ,@Param("enddate") Date enddate , @Param("itemBo") String itemBo  );

    /**查找某一时间段的sfc
     *
     * @param site
     * @param enddate
     * @param itemBo
     * @param procedureBo
     *
     * @return
     */
    public List<SFC>  selectSFCBytime(@Param( "site" )String site, @Param("enddate") Date enddate, @Param("itemBo") String itemBo, @Param("procedureBo") String procedureBo );


}
